package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.UserWorksShopping;
import com.ecoolex.ying.space.entity.UserWorksShoppingExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface UserWorksShoppingMapper {
    long countByExample(UserWorksShoppingExample example);

    int deleteByExample(UserWorksShoppingExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserWorksShopping record);

    int insertSelective(@Param("record") UserWorksShopping record, @Param("selective") UserWorksShopping.Column ... selective);

    UserWorksShopping selectOneByExample(UserWorksShoppingExample example);

    List<UserWorksShopping> selectByExample(UserWorksShoppingExample example);

    UserWorksShopping selectByPrimaryKey(Integer id);

    UserWorksShopping selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") UserWorksShopping record, @Param("example") UserWorksShoppingExample example, @Param("selective") UserWorksShopping.Column ... selective);

    int updateByExample(@Param("record") UserWorksShopping record, @Param("example") UserWorksShoppingExample example);

    int updateByPrimaryKeySelective(@Param("record") UserWorksShopping record, @Param("selective") UserWorksShopping.Column ... selective);

    int updateByPrimaryKey(UserWorksShopping record);

    int batchInsert(@Param("list") List<UserWorksShopping> list);

    int batchInsertSelective(@Param("list") List<UserWorksShopping> list, @Param("selective") UserWorksShopping.Column ... selective);

    int logicalDeleteByExample(@Param("example") UserWorksShoppingExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}